import {
	myRequest
} from '@/utils/request.js'
/**
 * 查询全部
 */
export const getObj = (obj) => {
	return myRequest({
		url: '/mallapi/pagedesign',
		method: 'get',
		data: obj,
		showLoading: false
	});
}

/**
 * getById
 */
export const getById = (id) => {
	return myRequest({
		url: '/mallapi/pagedesign/' + id,
		method: 'get',
		showLoading: true
	});
}
